package com.aaa.dao;

import com.aaa.entity.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoleMapper extends BaseMapper<Role> {
    List<Role> find();
    int add(Role role);
    int update(Role role);
    int delete(Integer rid);

    List<Role> findpage(Integer pageSize, Integer pageNum);
    Integer findcount();
}
